package com.ruoyi.develop.goodsSale.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.goodsOrderIn.domain.GoodsOrderIn;
import com.ruoyi.develop.goodsSaledoGongxu.domain.GoodsSaledoGongxu;
import com.ruoyi.develop.projectBaseInfo.domain.ProjectBaseInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售信息管理对象 goods_sale
 *
 * @author qh
 * @date 2023-01-05
 */
public class GoodsSale extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 销售类别
     */
    @Excel(name = "销售类别")
    private String type;

    /**
     * 工程名称
     */
    @Excel(name = "工程名称")
    private String gongchengName;
    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private String goodsId;

    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    private String goodsCode;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String goodsName;

    /**
     * 合同物料名称
     */
    @Excel(name = "合同物料名称")
    private String contractGoodsName;

    /**
     * 合同交货时间
     */
    @Excel(name = "合同交货时间")
    private Date deliveryTime;

    /**
     * 项目负责人
     */
    @Excel(name = "项目负责人")
    private String chargePerson;

    /**
     * 商品类型 0-金具 1-材料
     */
    @Excel(name = "商品类型 ")
    private String goodsType;

    /**
     * 商品品牌
     */
    @Excel(name = "商品品牌")
    private String goodsBrand;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal goodsUnitPrice;

    /**
     * 销售数量
     */
    @Excel(name = "销售数量")
    private BigDecimal goodsCount;

    /**
     * 总价
     */
    @Excel(name = "总价")
    private BigDecimal goodsTotalPrice;


    @Excel(name = "成本单价")
    private BigDecimal goodsBuyPrice;

    @Excel(name = "成本金额")
    private BigDecimal goodsBuyTotal;

    @Excel(name = "利润")
    private BigDecimal goodsProfit;


    @Excel(name = "含税单价")
    private BigDecimal goodsTaxUnitPrice;

    @Excel(name = "含税总价")
    private BigDecimal goodsTaxTotalPrice;


    /**
     * 销售日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saleDate;

    /**
     * 供应商
     */
    @Excel(name = "供应商")
    private String supplierId;

    /**
     * 供应商名称
     */
    @Excel(name = "供应商名称")
    private String supplierName;

    /**
     * 客户
     */
    @Excel(name = "客户")
    private String customerId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String customerName;

    /**
     * 是否开票
     */
    @Excel(name = "是否开票")
    private String invoice;

    /**
     * 发票id
     */
    @Excel(name = "发票id")
    private String invoiceId;

    /**
     * 发票编号
     */
    @Excel(name = "发票编号")
    private String invoiceNo;

    /**
     * 是否汇款
     */
    @Excel(name = "是否回款")
    private String fundCallback;

    /**
     * 是否打印签收单
     */
    @Excel(name = "是否打印签收单")
    private String receipt;

    /**
     * 销售人
     */
    @Excel(name = "销售人")
    private String saleId;

    /**
     * 销售人姓名
     */
    @Excel(name = "销售人姓名")
    private String saleName;
    @Excel(name = "项目名称")
    private String projectName;



    /** * 项目单位  */
    private String projectDept;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;
    private List<GoodsOrderIn> columns;

    private List<GoodsSale> columnsGoodsSale;

    private String deptId;
    private String deptName;

    private BigDecimal fahuoCount;
    private BigDecimal fahuoShengyu;

    private String lvdoId;
    private String lvdoNo;

    private String state;
    private String xunjianFile;
    private String[] saleIds;

    private String proId;

    private String rukumingxiId;
    private String rukumingxiNo;
    private String ischaijie;
    private String idx;
    private String deliveryTimeStr;
    private String orderCountStr;
    private String goodsTaxUnitPriceStr;
    private String goodsTaxTotalPriceStr;
    private String saleman;


    private String caigouType;

    private String projectType;
    private BigDecimal finishdoCount;

    private BigDecimal kerukuCount;
    private String doremark;
    private String douser;
    private BigDecimal daizhijianCount;
    private BigDecimal yurukuCount;
    private String modifyuser;
    private String modifyremark;
    private String isclose;

    private String chuanId;
    private String chuanName;

    /** * 内部id  */
    private String innerGoodsId;

    /** * 内部名称  */
    private String innerGoodsName;

    /** * 内部编码  */
    private String innerGoodsCode;

    public String getInnerGoodsId() {
        return innerGoodsId;
    }

    public void setInnerGoodsId(String innerGoodsId) {
        this.innerGoodsId = innerGoodsId;
    }

    public String getInnerGoodsName() {
        return innerGoodsName;
    }

    public void setInnerGoodsName(String innerGoodsName) {
        this.innerGoodsName = innerGoodsName;
    }

    public String getInnerGoodsCode() {
        return innerGoodsCode;
    }

    public void setInnerGoodsCode(String innerGoodsCode) {
        this.innerGoodsCode = innerGoodsCode;
    }

    public String getChuanId() {
        return chuanId;
    }

    public void setChuanId(String chuanId) {
        this.chuanId = chuanId;
    }

    public String getChuanName() {
        return chuanName;
    }

    public void setChuanName(String chuanName) {
        this.chuanName = chuanName;
    }

    public String getIsclose() {
        return isclose;
    }

    public void setIsclose(String isclose) {
        this.isclose = isclose;
    }

    public String getModifyuser() {
        return modifyuser;
    }

    public void setModifyuser(String modifyuser) {
        this.modifyuser = modifyuser;
    }

    public String getModifyremark() {
        return modifyremark;
    }

    public void setModifyremark(String modifyremark) {
        this.modifyremark = modifyremark;
    }

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productdate;

    public Date getProductdate() {
        return productdate;
    }

    public void setProductdate(Date productdate) {
        this.productdate = productdate;
    }

    public BigDecimal getDaizhijianCount() {
        return daizhijianCount;
    }

    public void setDaizhijianCount(BigDecimal daizhijianCount) {
        this.daizhijianCount = daizhijianCount;
    }

    public String getDoremark() {
        return doremark;
    }

    public void setDoremark(String doremark) {
        this.doremark = doremark;
    }

    public String getDouser() {
        return douser;
    }

    public void setDouser(String douser) {
        this.douser = douser;
    }

    public BigDecimal getKerukuCount() {
        return kerukuCount;
    }

    public void setKerukuCount(BigDecimal kerukuCount) {
        this.kerukuCount = kerukuCount;
    }

    public BigDecimal getFinishdoCount() {
        return finishdoCount;
    }

    public void setFinishdoCount(BigDecimal finishdoCount) {
        this.finishdoCount = finishdoCount;
    }

    public String getProjectType() {
        return projectType;
    }

    public void setProjectType(String projectType) {
        this.projectType = projectType;
    }

    public String getProjectDept() {
        return projectDept;
    }

    public void setProjectDept(String projectDept) {
        this.projectDept = projectDept;
    }

    public String getCaigouType() {
        return caigouType;
    }

    public void setCaigouType(String caigouType) {
        this.caigouType = caigouType;
    }

    public String getSaleman() {
        return saleman;
    }

    public void setSaleman(String saleman) {
        this.saleman = saleman;
    }

    public String getOrderCountStr() {
        return orderCountStr;
    }

    public void setOrderCountStr(String orderCountStr) {
        this.orderCountStr = orderCountStr;
    }

    public String getGoodsTaxUnitPriceStr() {
        return goodsTaxUnitPriceStr;
    }

    public void setGoodsTaxUnitPriceStr(String goodsTaxUnitPriceStr) {
        this.goodsTaxUnitPriceStr = goodsTaxUnitPriceStr;
    }

    public String getGoodsTaxTotalPriceStr() {
        return goodsTaxTotalPriceStr;
    }

    public void setGoodsTaxTotalPriceStr(String goodsTaxTotalPriceStr) {
        this.goodsTaxTotalPriceStr = goodsTaxTotalPriceStr;
    }

    public String getDeliveryTimeStr() {
        return deliveryTimeStr;
    }

    public void setDeliveryTimeStr(String deliveryTimeStr) {
        this.deliveryTimeStr = deliveryTimeStr;
    }

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public String getIschaijie() {
        return ischaijie;
    }

    public void setIschaijie(String ischaijie) {
        this.ischaijie = ischaijie;
    }

    /**
     * 合同收货人
     */
    @Excel(name = "合同收货人")
    private String deliveryPerson;

    public String getDeliveryPerson() {
        return deliveryPerson;
    }

    public void setDeliveryPerson(String deliveryPerson) {
        this.deliveryPerson = deliveryPerson;
    }

    public String getRukumingxiId() {
        return rukumingxiId;
    }

    public void setRukumingxiId(String rukumingxiId) {
        this.rukumingxiId = rukumingxiId;
    }

    public String getRukumingxiNo() {
        return rukumingxiNo;
    }

    public void setRukumingxiNo(String rukumingxiNo) {
        this.rukumingxiNo = rukumingxiNo;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String[] getSaleIds() {
        return saleIds;
    }

    public void setSaleIds(String[] saleIds) {
        this.saleIds = saleIds;
    }

    public List<GoodsSale> getColumnsGoodsSale() {
        return columnsGoodsSale;
    }

    public void setColumnsGoodsSale(List<GoodsSale> columnsGoodsSale) {
        this.columnsGoodsSale = columnsGoodsSale;
    }

    public String getXunjianFile() {
        return xunjianFile;
    }

    public void setXunjianFile(String xunjianFile) {
        this.xunjianFile = xunjianFile;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    private List<GoodsSaledoGongxu> columnsGongxu;

    public List<GoodsSaledoGongxu> getColumnsGongxu() {
        return columnsGongxu;
    }

    public void setColumnsGongxu(List<GoodsSaledoGongxu> columnsGongxu) {
        this.columnsGongxu = columnsGongxu;
    }

    public String getLvdoId() {
        return lvdoId;
    }

    public void setLvdoId(String lvdoId) {
        this.lvdoId = lvdoId;
    }

    public String getLvdoNo() {
        return lvdoNo;
    }

    public void setLvdoNo(String lvdoNo) {
        this.lvdoNo = lvdoNo;
    }

    public BigDecimal getFahuoCount() {
        return fahuoCount;
    }

    public void setFahuoCount(BigDecimal fahuoCount) {
        this.fahuoCount = fahuoCount;
    }

    public String getGongchengName() {
        return gongchengName;
    }

    public void setGongchengName(String gongchengName) {
        this.gongchengName = gongchengName;
    }

    public BigDecimal getFahuoShengyu() {
        return fahuoShengyu;
    }

    public void setFahuoShengyu(BigDecimal fahuoShengyu) {
        this.fahuoShengyu = fahuoShengyu;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public List<GoodsOrderIn> getColumns() {
        return columns;
    }

    public void setColumns(List<GoodsOrderIn> columns) {
        this.columns = columns;
    }

    private String brand;
    private String model;
    private String unit;
    private BigDecimal costPrice;
    private BigDecimal count;
    private String ids;
    private String projectId;
    private BigDecimal costPriceTax;
    private String status;
    private String costPriceAll;
    private String costPriceLeft;
    /**
     * 订单数量
     */
    private BigDecimal orderCount;

    /**
     * 请购数量
     */
    private BigDecimal pleaseBuyCount;


    /**
     * 本次请购数量
     */
    private BigDecimal pleaseBuyCountTmpl;

    /**
     * 发货数量
     */
    private BigDecimal sendCount;

    private String isfahuo;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "发货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fahuoDate;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "回款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date huikuanDate;
    private String goodModel;
    private String isdo;
    private String projectNo;

    private BigDecimal remainderCount;

    /**
     * 库存数量
     */
    private BigDecimal stockCount;

    /**
     * 锁定数量
     */
    private BigDecimal lockCount;

    private String gongyiId;
    private String gongyiName;
    private String gongyiCode;
    private String gongyiFile;
    private String gongyiPhoto;
    private String gongyiShuoming;
    private BigDecimal rukuCount;
    private BigDecimal weiruCount;

    private ProjectBaseInfo order;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    public BigDecimal getPleaseBuyCountTmpl() {
        return pleaseBuyCountTmpl;
    }

    public void setPleaseBuyCountTmpl(BigDecimal pleaseBuyCountTmpl) {
        this.pleaseBuyCountTmpl = pleaseBuyCountTmpl;
    }

    public ProjectBaseInfo getOrder() {
        return order;
    }

    public void setOrder(ProjectBaseInfo order) {
        this.order = order;
    }

    public BigDecimal getWeiruCount() {
        return weiruCount;
    }

    public void setWeiruCount(BigDecimal weiruCount) {
        this.weiruCount = weiruCount;
    }

    public BigDecimal getRukuCount() {
        return rukuCount;
    }

    public void setRukuCount(BigDecimal rukuCount) {
        this.rukuCount = rukuCount;
    }

    public String getGongyiCode() {
        return gongyiCode;
    }

    public void setGongyiCode(String gongyiCode) {
        this.gongyiCode = gongyiCode;
    }

    public BigDecimal getGoodsTaxUnitPrice() {
        return goodsTaxUnitPrice;
    }

    public void setGoodsTaxUnitPrice(BigDecimal goodsTaxUnitPrice) {
        this.goodsTaxUnitPrice = goodsTaxUnitPrice;
    }

    public BigDecimal getGoodsTaxTotalPrice() {
        return goodsTaxTotalPrice;
    }

    public void setGoodsTaxTotalPrice(BigDecimal goodsTaxTotalPrice) {
        this.goodsTaxTotalPrice = goodsTaxTotalPrice;
    }

    public String getGongyiFile() {
        return gongyiFile;
    }

    public void setGongyiFile(String gongyiFile) {
        this.gongyiFile = gongyiFile;
    }

    public String getGongyiPhoto() {
        return gongyiPhoto;
    }

    public void setGongyiPhoto(String gongyiPhoto) {
        this.gongyiPhoto = gongyiPhoto;
    }

    public String getGongyiShuoming() {
        return gongyiShuoming;
    }

    public void setGongyiShuoming(String gongyiShuoming) {
        this.gongyiShuoming = gongyiShuoming;
    }

    public String getGongyiId() {
        return gongyiId;
    }

    public void setGongyiId(String gongyiId) {
        this.gongyiId = gongyiId;
    }

    public String getGongyiName() {
        return gongyiName;
    }

    public void setGongyiName(String gongyiName) {
        this.gongyiName = gongyiName;
    }

    public BigDecimal getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(BigDecimal orderCount) {
        this.orderCount = orderCount;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public String getIsdo() {
        return isdo;
    }

    public void setIsdo(String isdo) {
        this.isdo = isdo;
    }

    public String getGoodModel() {
        return goodModel;
    }

    public void setGoodModel(String goodModel) {
        this.goodModel = goodModel;
    }

    public BigDecimal getPleaseBuyCount() {
        return pleaseBuyCount;
    }

    public void setPleaseBuyCount(BigDecimal pleaseBuyCount) {
        this.pleaseBuyCount = pleaseBuyCount;
    }

    public BigDecimal getSendCount() {
        return sendCount;
    }

    public void setSendCount(BigDecimal sendCount) {
        this.sendCount = sendCount;
    }

    public BigDecimal getStockCount() {
        return stockCount;
    }

    public void setStockCount(BigDecimal stockCount) {
        this.stockCount = stockCount;
    }

    public String getIsfahuo() {
        return isfahuo;
    }

    public void setIsfahuo(String isfahuo) {
        this.isfahuo = isfahuo;
    }

    public Date getFahuoDate() {
        return fahuoDate;
    }

    public void setFahuoDate(Date fahuoDate) {
        this.fahuoDate = fahuoDate;
    }

    public Date getHuikuanDate() {
        return huikuanDate;
    }

    public void setHuikuanDate(Date huikuanDate) {
        this.huikuanDate = huikuanDate;
    }

    public BigDecimal getGoodsBuyPrice() {
        return goodsBuyPrice;
    }

    public void setGoodsBuyPrice(BigDecimal goodsBuyPrice) {
        this.goodsBuyPrice = goodsBuyPrice;
    }

    public BigDecimal getGoodsBuyTotal() {
        return goodsBuyTotal;
    }

    public void setGoodsBuyTotal(BigDecimal goodsBuyTotal) {
        this.goodsBuyTotal = goodsBuyTotal;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public BigDecimal getGoodsProfit() {
        return goodsProfit;
    }

    public void setGoodsProfit(BigDecimal goodsProfit) {
        this.goodsProfit = goodsProfit;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getCostPriceLeft() {
        return costPriceLeft;
    }

    public void setCostPriceLeft(String costPriceLeft) {
        this.costPriceLeft = costPriceLeft;
    }

    public String getCostPriceAll() {
        return costPriceAll;
    }

    public void setCostPriceAll(String costPriceAll) {
        this.costPriceAll = costPriceAll;
    }

    public BigDecimal getCostPriceTax() {
        return costPriceTax;
    }

    public void setCostPriceTax(BigDecimal costPriceTax) {
        this.costPriceTax = costPriceTax;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getRemainderCount() {
        return remainderCount;
    }

    public void setRemainderCount(BigDecimal remainderCount) {
        this.remainderCount = remainderCount;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public String getContractGoodsName() {
        return contractGoodsName;
    }

    public void setContractGoodsName(String contractGoodsName) {
        this.contractGoodsName = contractGoodsName;
    }

    public String getChargePerson() {
        return chargePerson;
    }

    public void setChargePerson(String chargePerson) {
        this.chargePerson = chargePerson;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsBrand(String goodsBrand) {
        this.goodsBrand = goodsBrand;
    }

    public String getGoodsBrand() {
        return goodsBrand;
    }

    public void setGoodsUnitPrice(BigDecimal goodsUnitPrice) {
        this.goodsUnitPrice = goodsUnitPrice;
    }

    public BigDecimal getGoodsUnitPrice() {
        return goodsUnitPrice;
    }

    public void setGoodsCount(BigDecimal goodsCount) {
        this.goodsCount = goodsCount;
    }

    public BigDecimal getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsTotalPrice(BigDecimal goodsTotalPrice) {
        this.goodsTotalPrice = goodsTotalPrice;
    }

    public BigDecimal getGoodsTotalPrice() {
        return goodsTotalPrice;
    }

    public void setSaleDate(Date saleDate) {
        this.saleDate = saleDate;
    }

    public Date getSaleDate() {
        return saleDate;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId;
    }

    public String getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setFundCallback(String fundCallback) {
        this.fundCallback = fundCallback;
    }

    public String getFundCallback() {
        return fundCallback;
    }

    public void setReceipt(String receipt) {
        this.receipt = receipt;
    }

    public String getReceipt() {
        return receipt;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }

    public String getSaleId() {
        return saleId;
    }

    public void setSaleName(String saleName) {
        this.saleName = saleName;
    }

    public String getSaleName() {
        return saleName;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public BigDecimal getLockCount() {
        return lockCount;
    }

    public void setLockCount(BigDecimal lockCount) {
        this.lockCount = lockCount;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goodsId", getGoodsId())
                .append("goodsName", getGoodsName())
                .append("goodsBrand", getGoodsBrand())
                .append("goodsUnitPrice", getGoodsUnitPrice())
                .append("goodsCount", getGoodsCount())
                .append("goodsTotalPrice", getGoodsTotalPrice())
                .append("saleDate", getSaleDate())
                .append("supplierId", getSupplierId())
                .append("supplierName", getSupplierName())
                .append("customerId", getCustomerId())
                .append("customerName", getCustomerName())
                .append("invoice", getInvoice())
                .append("invoiceId", getInvoiceId())
                .append("invoiceNo", getInvoiceNo())
                .append("fundCallback", getFundCallback())
                .append("receipt", getReceipt())
                .append("saleId", getSaleId())
                .append("saleName", getSaleName())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
